﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace Roy.Common.Helper
{
    /// <summary>
    /// 配置管理
    /// </summary>
    public static class RoyConfigHelper
    {
        /// <summary>
        /// Cache緩存多久
        /// </summary>
        public static int CacheTimeOutMinutes
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["Roy.CacheTimeOutMinutes"]);
            }
        }
    }
}
